import axios from './$http'


const cache = new Map();

const api = {
    clearCache() {
        cache.clear();
    },
    async queryFieldTypeList() {
        const result = await axios.post(`/square-lake/process/field_type_list`, {})
        return result;
    },
    async getCurrentInputDefine(data) {
        const result = await axios.post(`/square-lake/process/version/content/get_current_input_define`, data)
        return result;
    }
}

export default api;